#coding: utf-8

from cocos2d import *
from scenes.main import MainScene
from common import *

def __GameMain__():
    sharedSpriteFrameCache.addSpriteFramesWithFile("resource.plist")
    #sharedOpenGLView.setFrameSize(640, 960)
    sharedOpenGLView.setDesignResolutionSize(DEFAULT_GAME_WIDTH, DEFAULT_GAME_HEIGHT, kResolutionShowAll)
    scene = MainScene()
    sharedDirector.runWithScene(scene)